projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfb05d0
)
sunxi_nand_spl: Add config parameter for 4KiB page sized NAND devices
author
Stefan Roese
<
[email protected]
>
Fri, 4 Sep 2015 12:43:00 +0000
(14:43 +0200)
committer
Hans de Goede
<
[email protected]
>
Thu, 10 Sep 2015 18:20:45 +0000
(20:20 +0200)
This patch adds support for NAND chips with 4KiB page size and 24/1024
ECC strength. Like the Micron MT29F32G08CBACAWP which is used on the
ICnova-A20 SoM.
Signed-off-by: Stefan Roese <
[email protected]
>
Acked-by: Hans de Goede <
[email protected]
>
Signed-off-by: Hans de Goede <
[email protected]
>
drivers/mtd/nand/sunxi_nand_spl.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/sunxi_nand_spl.c
b/drivers/mtd/nand/sunxi_nand_spl.c
index bf9b1b14503f0a89e4cc0cecd4dffb77ae12b28c..5985534e5f1546073baff720db1d99b1ec0e1bcc 100644
(file)
--- a/
drivers/mtd/nand/sunxi_nand_spl.c
+++ b/
drivers/mtd/nand/sunxi_nand_spl.c
@@
-321,6
+321,7
@@
static int nand_read_buffer(uint32_t offs, unsigned int size, void *dest,
{ 8192, 40, 1024, 5 },
{ 16384, 56, 1024, 5 },
{ 8192, 24, 1024, 5 },
+ { 4096, 24, 1024, 5 },
};
static int nand_config = -1;
int i;